package com.ssm.service.imp;

import com.ssm.mapper.InformationMapper;
import com.ssm.pojo.Information;
import com.ssm.service.OperationMessage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("OperationMessageImp")
public class OperationMessageImp implements OperationMessage {

    @Autowired
    private InformationMapper informationMapper;

    /**
     * 添加聊天信息
     *
     * */
    @Override
    public Boolean addMes(Information i) {
        return informationMapper.addMes(i);
    }
}
